package com.ct.controller;

import com.ct.commons.BaseController;
import com.ct.commons.annotation.LoginIgnore;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@LoginIgnore
@Slf4j
public class TestController extends BaseController {

    @GetMapping("/ping")
    public String ping(){
        log.info("这里是我新增的日志哦!!!");
        log.error("这里是我新增的日志哦!!!---error");
        return "pong";
    }

}
